home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / News / Alexandra.0.82 / Source / Newsgroup.h < prev    next >
Encoding:
Text File  |  1996-01-30  |  1.3 KB  |  71 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <misckit/MiscProtocols.h>
  4.  
  5. @interface Newsgroup:Cell
  6. {
  7.    BOOL subscribed;
  8.    unsigned numUnreadArticles;
  9.    id articleList;
  10.    List *intervalList;
  11.    int myTag;
  12.    long min;
  13.    long max;
  14.     long first_unread;
  15.    char postable;
  16.    BOOL delayed;
  17.    BOOL isBogus;
  18.    int currentSortType;
  19.  
  20. }
  21.  
  22. + setSortType:(int)t;
  23. + (int)sortType;
  24.  
  25. - initTextCell:(const char *)aString;
  26. - updateArticles;
  27. - free;
  28.  
  29. - setSubscribed;
  30. - setUnsubscribed;
  31. - (BOOL)isSubscribed;
  32.  
  33. - setNumUnreadArticles:(int)num;
  34. - incNumberUnreadArticles:(int)delta;
  35. - approxNumUnread;
  36. - (long)numberUnreadArticles;
  37. - (int)markAllReadUntil:lastArticle;
  38.  
  39. - setTextAttributes:textObj;
  40. - drawInside:(const NXRect *)cellFrame inView:controlView;
  41. - highlight:(const NXRect *)cellFrame inView:controlView lit:(BOOL)flag;
  42.  
  43. - setReadList:(char *)readlist;
  44. - (BOOL)inReadList:(long)number;
  45. - dumpReadList:(NXStream *)aStream;
  46.  
  47. - scanArticles:(id)nntpServer;
  48. - scanArticles:(id)nntpServer visibleIn:(id)articleView;
  49. - (BOOL)isDelayed;
  50. - (List *)articleList;
  51.  
  52.  
  53. - setTag;
  54. - unsetTag;
  55. - (BOOL)isTaged;
  56.  
  57. - setMin:(long)newMin;
  58. - setMax:(long)newMax;
  59. - (long)minNumber;
  60. - (long)maxNumber;
  61.  
  62. - (BOOL)bogus;
  63. - setBogus:(BOOL)b;
  64.  
  65. - setPostable:(char)p;
  66. - (char)postable;
  67.  
  68. - (BOOL)resortIfNeeded:(int)val;
  69.  
  70. @end
  71.